package com.spring.condition;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * Description:
 *
 * @author lijie
 * @create 2019-01-15 23:15
 * Update by lijie 2019-01-15 23:15
 */
public class MyImportSelector implements ImportSelector {
    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {

        return new String[]{"com.spring.bean.Blue","com.spring.bean.Yellow"};
    }
}
